package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class InvitationBean implements Serializable, IJsonParser{

	/**
	 *  {
            "activity_id": 7,
            "title": "啊实打实的" 
        }
	 */
	private static final long serialVersionUID = 1L;
	private String activity_id;
	private String title;
	private PictureBean details_pic;
	

	public PictureBean getDetails_pic() {
		return details_pic;
	}


	public void setDetails_pic(PictureBean details_pic) {
		this.details_pic = details_pic;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


	public String getActivity_id() {
		return activity_id;
	}


	public String getTitle() {
		return title;
	}


	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson gson = null;
		if (null != json) {
			GsonBuilder b = new GsonBuilder();
			gson = b.create();
			return gson.fromJson(json, InvitationBean.class);
		}
		return null;
	}
}
